Optimal. Leaf size=5 \[ \tan ^{-1}(\sin (x)+1) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.026073, antiderivative size = 5, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3258, 617, 204} \[ \tan ^{-1}(\sin (x)+1) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3258
Rule 617
Rule 204
Rubi steps
\begin{align*} \int \frac{\cos (x)}{2+2 \sin (x)+\sin ^2(x)} \, dx &=\operatorname{Subst}\left (\int \frac{1}{2+2 x+x^2} \, dx,x,\sin (x)\right )\\ &=-\operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\sin (x)\right )\\ &=\tan ^{-1}(1+\sin (x))\\ \end{align*}
Mathematica [A] time = 0.0094799, size = 5, normalized size = 1. \[ \tan ^{-1}(\sin (x)+1) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.046, size = 6, normalized size = 1.2 \begin{align*} \arctan \left ( 1+\sin \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45297, size = 7, normalized size = 1.4 \begin{align*} \arctan \left (\sin \left (x\right ) + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.49945, size = 27, normalized size = 5.4 \begin{align*} \arctan \left (\sin \left (x\right ) + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.257207, size = 5, normalized size = 1. \begin{align*} \operatorname{atan}{\left (\sin{\left (x \right )} + 1 \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1694, size = 7, normalized size = 1.4 \begin{align*} \arctan \left (\sin \left (x\right ) + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]